{% extends "base.html" %}
{% load i18n %}

{% block content %}
<h3 >{% trans "Wypełnij wszystkie pola aby zmienić hasło" %} </h3>
<form method="POST" action=".">{% csrf_token %}

	<table class="tabela">
	{% if form.errors %}
		<tr >
			<td class="errorMessage" colspan="2">{{ form.errors}}</td>
		</tr>
	{% else %}
	<tr><td></td></tr>
	{% endif %}
	<tr>
		<td><label for="id_old_password">Stare hasło:</label></td>
		<td><input type="password" name="old_password" id="id_old_password" /></td> 
	</tr>
	<tr>
		<td><label for="id_new_password1">Nowe hasło:</label></td>
		<td><input type="password" name="new_password1" id="id_new_password1" /></td> 
	</tr>
	<tr>
		<td><label for="id_new_password2">Nowe hasło ponownie:</label></td>
		<td><input type="password" name="new_password2" id="id_new_password2" /></td> 
	</tr>
	<tr>
		<td>  <input type="submit" class="myButton" value="{% trans 'Zatwierdź' %}" /></td>
	</tr>
	</table>


</form>
{% endblock content%}
